﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UtilZ.Dotnet.Ex.ZLog;

namespace UtilZ.Dotnet.Ex.Communication.Net.Ftp
{
    /// <summary>
    /// 清除命令通道
    /// RFC 2228	Clear Command Channel
    /// </summary>
    internal class FtpCCCCommand : FtpCommandAbs
    {
        /***********************************************************************************************************
        *
        *
        ************************************************************************************************************/


        public FtpCCCCommand()
            : base()
        {

        }

        protected override string[] GetNames()
        {
            return new string[] { FtpCommands.CCC };
        }

        protected override IFtpResponse PrimitiveExcute(FtpSession session, string command, string commandLine)
        {
            //求抓包验证
            return new FtpCodeResponse(FtpStatusCodes.Code200);
        }
    }

}
